home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5708 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: dawn.mmm.com!news
  2. From: kjhopps@mmm.com (Kevin J Hopps)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Aborting Constructors, Part II
  5. Date: 6 Feb 1996 13:45:02 GMT
  6. Organization: 3M - St. Paul, MN  55144-1000 US
  7. Message-ID: <4f7m0u$4g4@dawn.mmm.com>
  8. References: <4eoeck$t6n@news.ios.com> <4eq99t$fpu@fsuj01.rz.uni-jena.de> <marnoldDM529E.3CH@netcom.com> <mikec.823353055@atl1>
  9. Reply-To: kjhopps@mmm.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Michael J. Callahan (mikec@atl1.america.net) wrote:
  13.  
  14. [ snip ]
  15.  
  16. > So under the covers, a new allocates raw memory for the object to occupy, 
  17. > and begins running the ctor on that raw memory. Within the ctor, if an
  18. > exception is thrown, the raw memory allocation if deallocated, the instance
  19. > in effect no longer exists?
  20.  
  21. > Is that recent behavior to the evolving std, or did I just miss it? If 
  22. > recent, is it implemented in many compilers yet?
  23.  
  24. I believe it has been there more than a year.  I don't know about many
  25. compilers, but SunSoft C++ operates correctly.
  26. --
  27. Kevin J. Hopps                  e-mail: kjhopps@mmm.com
  28. 3M Company                      phone:  (612) 737-4643
  29. 3M Center, Bldg. 235-2D-57      fax:    (612) 737-2700
  30. St. Paul, MN 55144-1000         Opinions are my own.  I don't speak for 3M.
  31.     But 3M speaks for me -- I did not write the following line:
  32.  
  33. Opinions expressed herein are my own and may not represent those of 3M.
  34.